<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:88:"D:\StudySoft\phpstudy_pro\WWW\football\public/../application/home\view\goods\detail.html";i:1663934891;s:72:"D:\StudySoft\phpstudy_pro\WWW\football\application\home\view\layout.html";i:1664449372;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <link rel="stylesheet" type="text/css" href="/static/home/css/all.css" />
    <script type="text/javascript" src="/static/home/js/all.js"></script>
    <script>
        var _hmt = _hmt || [];
        (function() {
          var hm = document.createElement("script");
          hm.src = "https://hm.baidu.com/hm.js?175f215cb86ec96e8cf7b371c7bc0ff5";
          var s = document.getElementsByTagName("script")[0]; 
          s.parentNode.insertBefore(hm, s);
        })();
    </script>

</head>
<body>
<!-- 头部栏位 -->
<!--页面顶部-->
<div id="nav-bottom">
    <!--顶部-->
    <div class="nav-top">
        <div class="top">
            <div class="py-container">
                <div class="shortcut">
                    <ul class="fl">
                        <li class="f-item">足球集欢迎您！</li>
                        <?php if((\think\Session::get('user_info') == '')): ?>
                        <li class="f-item">请
                            <span><a href="<?php echo url('home/login/login'); ?>" >登录</a></span>
                            &emsp;
                            <span><a href="<?php echo url('home/login/register'); ?>" >个人注册</a></span>
                            &emsp;
                            <span><a href="<?php echo url('home/login/register_2'); ?>" >商家注册</a></span>
                        </li>
                        <?php else: ?>
                        <li class="f-item">Hi,
                            <a href="javascript:;" >
                                <?php if((\think\Session::get('user_info.nickname'))): ?>
                                <?php echo \think\Session::get('user_info.nickname'); else: ?>
                                <?php echo \think\Session::get('user_info.username'); endif; ?></a>　
                            <span><a href="<?php echo url('home/login/logout'); ?>" >退出登录</a></span>
                        </li>
                        <?php endif; ?>
                    </ul>
                    
                    <ul class="fr">
                        <li class="f-item">顾问咨询</li>
                        <li class="f-item space"></li>

                        <li class="f-item">加盟流程</li>
                        <li class="f-item space"></li>

                        <li class="f-item">网站导航</li>
                        <li class="f-item space"></li>

                        <li class="f-item">手机版本</li>
                        <li class="f-item space"></li>

                        <li class="f-item">劲爆体育网</li>
                        <li class="f-item space"></li>

<!--                        <li class="f-item">我的订单</li>-->
<!--                        <li class="f-item space"></li>-->

<!--                        <li class="f-item">我的品优购</li>-->
<!--                        <li class="f-item space"></li>-->

<!--                        <li class="f-item">品优购会员</li>-->
<!--                        <li class="f-item space"></li>-->

<!--                        <li class="f-item">企业采购</li>-->
<!--                        <li class="f-item space"></li>-->

<!--                        <li class="f-item">关注品优购</li>-->
<!--                        <li class="f-item space"></li>-->
                        <li class="f-item" id="service">
                            <span>客户服务</span>
                            <ul class="service">
                                <li><a href="cooperation.html" target="_blank">合作招商</a></li>
                                <li><a href="shoplogin.html" target="_blank">商家后台</a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>

        <!--头部-->
        <div class="header">
            <div class="py-container">
                <div class="yui3-g Logo">
                    <div class="yui3-u Left logoArea">
<!--                        <a class="logo-bd" title="足球集" href=""></a>-->
                        <br><br>&emsp;&emsp;&emsp;&emsp;&emsp;
                        <a class="" title="足球集" href="http://www.football.com">logo</a>
                    </div>
                    <div class="yui3-u Center searchArea">
                        <div class="search">
                            <form action="" class="sui-form form-inline">
                                <!--searchAutoComplete-->
                                <div class="input-append">
                                    <input type="text" id="autocomplete" type="text" class="input-error input-xxlarge" />
                                    <button class="sui-btn btn-xlarge btn-danger" type="button">搜索</button>
                                </div>
                            </form>
                        </div>
                        <div class="hotwords">
                            <ul>
                                <li class="f-item">留洋培训</li>
                                <li class="f-item">教练考证</li>
                                <li class="f-item">产品授权</li>
                                <li class="f-item">青训合作</li>
                                <li class="f-item">赛事赞助</li>
                                <li class="f-item">……</li>

                            </ul>
                        </div>
                    </div>
<!--                    <div class="yui3-u Right shopArea">-->
<!--                        <div class="fr shopcar">-->
<!--                            <div class="show-shopcar" id="shopcar">-->
<!--                                <span class="car"></span>-->
<!--                                <a class="sui-btn btn-default btn-xlarge" href="<?php echo url('home/cart/index'); ?>">-->
<!--                                    <span>我的购物车</span>-->
<!--                                    <i class="shopnum">0</i>-->
<!--                                </a>-->
<!--                                <div class="clearfix shopcarlist" id="shopcarlist" style="display:none">-->
<!--                                    <p>"啊哦，你的购物车还没有商品哦！"</p>-->
<!--                                </div>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                    </div>-->
                </div>

                <div class="yui3-g NavList">
                    <div class="all-sorts-list">
                        <div class="yui3-u Left all-sort">
                            <h4>业务展示</h4>
                        </div>
                        <div class="sort">
                            <div class="all-sort-list2">
<!--                                { &lt;!&ndash; foreach $category as $one &ndash;&gt;}-->
                                <div class="item">
<!--                                    <h3><a href="javascript:;">{ &lt;!&ndash; $one.cate_name &ndash;&gt; }</a></h3>-->
                                    <h3><a href="javascript:;">留洋培训</a></h3>
                                    <h3><a href="javascript:;">足球招生</a></h3>
                                    <h3><a href="javascript:;">球队赞助</a></h3>
                                    <h3><a href="javascript:;">比赛赞助</a></h3>
                                    <h3><a href="javascript:;">球场广告</a></h3>
                                    <h3><a href="javascript:;">品牌授权</a></h3>
                                    <h3><a href="javascript:;">青训合作</a></h3>
                                    <h3><a href="javascript:;">媒体广告</a></h3>
                                    <h3><a href="javascript:;">公关款待</a></h3>
                                    <h3><a href="javascript:;">杯赛赞助</a></h3>
                                    <h3><a href="javascript:;">联赛赞助</a></h3>
                                    <h3><a href="javascript:;">股权投资</a></h3>
                                    <h3><a href="javascript:;">专业进修</a></h3>
                                    <h3><a href="javascript:;">教练招聘</a></h3>
                                    <h3><a href="javascript:;">其他</a></h3>
<!--                                    <div class="item-list clearfix">-->
<!--                                        <div class="subitem">-->
<!--                                            { &lt;!&ndash; foreach $one['son'] as $k=>$two &ndash;&gt; }-->
<!--                                            <dl class="fore{ &lt;!&ndash; $k &ndash;&gt;}">-->
<!--                                                <dt><a href="javascript:;">{ &lt;!&ndash; $two.cate_name &ndash;&gt; }</a></dt>-->
<!--                                                <dd>-->
<!--                                                    { &lt;!&ndash; foreach $two['son'] as $three &ndash;&gt;-->
<!--                                                    <em><a href="{ &lt;!&ndash; :url('home/goods/index', ['id'=>$three.id]) &ndash;&gt; }">{ &lt;!&ndash; $three.cate_name &ndash;&gt; }</a></em>-->
<!--                                                    { &lt;!&ndash; /foreach &ndash;&gt;}-->
<!--                                                </dd>-->
<!--                                            </dl>-->
<!--                                            { &lt;!&ndash; /foreach &ndash;&gt;}-->
<!--                                        </div>-->
<!--                                    </div>-->
                                </div>
<!--                                { &lt;!&ndash; /foreach &ndash;&gt; }-->
                            </div>
                        </div>
                    </div>
                    <div class="yui3-u Center navArea">
                        <ul class="nav">
                            <li class="f-item">找客户</li>
                            <li class="f-item">找资源</li>
                            <li class="f-item">
<!--                                <a href="seckill-index.html" target="_blank">-->
                                    找项目
<!--                                </a>-->
                            </li>
                        </ul>
                    </div>
                    <div class="yui3-u Right"></div>
                </div>

            </div>
        </div>
    </div>
</div>


	<title>产品详情页</title>

    <link rel="stylesheet" type="text/css" href="/static/home/css/pages-item.css" />
    <link rel="stylesheet" type="text/css" href="/static/home/css/pages-zoom.css" />

	<script type="text/javascript" src="/static/home/js/pages/index.js"></script>
	<script type="text/javascript" src="/static/home/js/pages/item.js"></script>

	<div class="py-container">
		<div id="item">
			<!--product-info-->
			<div class="product-info">
				<div class="fl preview-wrap">
					<!--放大镜效果-->
					<div class="zoom">
						<!--默认第一个预览-->
						<div id="preview" class="spec-preview">
							<span class="jqzoom"><img jqimg="<?php if((isset($list['goods_images'][0]['pics_big']))): ?><?php echo $goods['goods_images'][0]['pics_big']; endif; ?>" src="<?php echo $list['logo']; ?>" /></span>
							<!--							<?php if((isset($goods['goods_images'][0]['pics_sma']))): ?><?php echo $goods['goods_images'][0]['pics_sma']; endif; ?>-->
						</div>
						<!--下方的缩略图-->
						<div class="spec-scroll">
							<a class="prev">&lt;</a>
							<!--左右按钮-->
							<div class="items">
								<ul>
									<?php foreach($list['goods_images'] as $v): ?>
									<li><img src="<?php echo $v['pics_sma']; ?>" bimg="<?php echo $v['pics_big']; ?>" onmousemove="preview(this)" /></li>
									<?php endforeach; ?>
								</ul>
							</div>
							<a class="next">&gt;</a>
						</div>
					</div>
				</div>
				<div class="fr itemInfo-wrap">
					<div class="sku-name">
						<h4><?php echo $list['club_name']; ?></h4>
					</div>
					<div class="news">
						<span><?php echo $list['club_profile']; ?></span>
					</div>
					<div class="summary">
						<div class="summary-wrap">
							<div class="fl title">
								<i>学 期 费 用</i>
							</div>
							<div class="fl price">
								<i>¥</i>
								<em id="goods_price"><?php echo $list['semester_fees']; ?></em>
								<span>降价通知</span>
							</div>
							<div class="fr remark">
								<i>累计评价</i><em>188</em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>促　　销</i>
							</div>
							<div class="fl fix-width">
								<i class="red-bg">加价购</i>
								<em class="t-gray">满999.00另加20.00元，或满1999.00另加30.00元，或满2999.00另加40.00元，即可在购物车换购热销商品</em>
							</div>
						</div>
					</div>
					<div class="support">
						<div class="summary-wrap">
							<div class="fl title">
								<i>所在国家</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['country']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>学习时间</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['learning_time']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>学习制度</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['system']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>地址</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['address']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>招收名额</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['enrollment_quota']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>招收年龄</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['enrollment_age']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>教练资质</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['coach_qualification']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>学员赛事</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['student_competition']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>上升通道</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['ascending_channel']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>注册身份</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['registered_identity']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>教育证书</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['education_certificate']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>学期费用</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['semester_fees']; ?></em>
							</div>
						</div>
						<div class="summary-wrap">
							<div class="fl title">
								<i>商务代理</i>
							</div>
							<div class="fl fix-width">
								<em class="t-gray" style="color: #b0171f"><?php echo $list['business_agency']; ?></em>
							</div>
						</div>
					</div>
					<div class="clearfix choose">
						
						<div class="summary-wrap">
							<div class="fl title">
								<div class="control-group">
									<div class="controls">
										<input id="number" autocomplete="off" type="text" value="1" minnum="1" class="itxt" />
										<a href="javascript:void(0)" id="plus" class="increment plus">+</a>
										<a href="javascript:void(0)" id="mins" class="increment mins">-</a>
									</div>
								</div>
							</div>
							<div class="fl">
								<ul class="btn-choose unstyled">
									<li>
										<a href="javascript:;" id="addshopcar" class="sui-btn  btn-danger addshopcar">加入购物车</a>
									</li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!--product-detail-->
			<div class="clearfix product-detail">
				<div class="fl aside">
					<ul class="sui-nav nav-tabs tab-wraped">
						<li class="active">
							<a href="#index" data-toggle="tab">
								<span>相关分类</span>
							</a>
						</li>
						<li>
							<a href="#profile" data-toggle="tab">
								<span>推荐品牌</span>
							</a>
						</li>
					</ul>
					<div class="tab-content tab-wraped">
						<div id="index" class="tab-pane active">
							<ul class="part-list unstyled">
								<li>手机</li>
								<li>手机壳</li>
								<li>内存卡</li>
								<li>Iphone配件</li>
								<li>贴膜</li>
								<li>手机耳机</li>
								<li>移动电源</li>
								<li>平板电脑</li>
							</ul>
							<ul class="goods-list unstyled">
								<li>
									<div class="list-wrap">
										<div class="p-img">
											<img src="/static/home/img/_/part01.png" />
										</div>
										<div class="attr">
											<em>Apple苹果iPhone 6s (A1699)</em>
										</div>
										<div class="price">
											<strong>
											<em>¥</em>
											<i>6088.00</i>
										</strong>
										</div>
										<div class="operate">
											<a href="javascript:void(0);" class="sui-btn btn-bordered">加入购物车</a>
										</div>
									</div>
								</li>
								<li>
									<div class="list-wrap">
										<div class="p-img">
											<img src="/static/home/img/_/part02.png" />
										</div>
										<div class="attr">
											<em>Apple苹果iPhone 6s (A1699)</em>
										</div>
										<div class="price">
											<strong>
											<em>¥</em>
											<i>6088.00</i>
										</strong>
										</div>
										<div class="operate">
											<a href="javascript:void(0);" class="sui-btn btn-bordered">加入购物车</a>
										</div>
									</div>
								</li>
								<li>
									<div class="list-wrap">
										<div class="p-img">
											<img src="/static/home/img/_/part03.png" />
										</div>
										<div class="attr">
											<em>Apple苹果iPhone 6s (A1699)</em>
										</div>
										<div class="price">
											<strong>
											<em>¥</em>
											<i>6088.00</i>
										</strong>
										</div>
										<div class="operate">
											<a href="javascript:void(0);" class="sui-btn btn-bordered">加入购物车</a>
										</div>
									</div>
									<div class="list-wrap">
										<div class="p-img">
											<img src="/static/home/img/_/part02.png" />
										</div>
										<div class="attr">
											<em>Apple苹果iPhone 6s (A1699)</em>
										</div>
										<div class="price">
											<strong>
											<em>¥</em>
											<i>6088.00</i>
										</strong>
										</div>
										<div class="operate">
											<a href="javascript:void(0);" class="sui-btn btn-bordered">加入购物车</a>
										</div>
									</div>
									<div class="list-wrap">
										<div class="p-img">
											<img src="/static/home/img/_/part03.png" />
										</div>
										<div class="attr">
											<em>Apple苹果iPhone 6s (A1699)</em>
										</div>
										<div class="price">
											<strong>
											<em>¥</em>
											<i>6088.00</i>
										</strong>
										</div>
										<div class="operate">
											<a href="javascript:void(0);" class="sui-btn btn-bordered">加入购物车</a>
										</div>
									</div>
								</li>
							</ul>
						</div>
						<div id="profile" class="tab-pane">
							<p>推荐品牌</p>
						</div>
					</div>
				</div>
				<div class="fr detail">
					<div class="clearfix fitting">
						<h4 class="kt">选择搭配</h4>
						<div class="good-suits">
							<div class="fl master">
								<div class="list-wrap">
									<div class="p-img">
										<img src="/static/home/img/_/l-m01.png" />
									</div>
									<em>￥5299</em>
									<i>+</i>
								</div>
							</div>
							<div class="fl suits">
								<ul class="suit-list">
									<li class="">
										<div id="">
											<img src="/static/home/img/_/dp01.png" />
										</div>
										<i>Feless费勒斯VR</i>
										<label data-toggle="checkbox" class="checkbox-pretty">
											<input type="checkbox"><span>39</span>
										</label>
									</li>
									<li class="">
										<div id=""><img src="/static/home/img/_/dp02.png" /> </div>
										<i>Feless费勒斯VR</i>
										<label data-toggle="checkbox" class="checkbox-pretty">
											<input type="checkbox"><span>50</span>
										</label>
									</li>
									<li class="">
										<div id=""><img src="/static/home/img/_/dp03.png" /></div>
										<i>Feless费勒斯VR</i>
											<label data-toggle="checkbox" class="checkbox-pretty">
											<input type="checkbox"><span>59</span>
										</label>
									</li>
									<li class="">
										<div id=""><img src="/static/home/img/_/dp04.png" /></div>
										<i>Feless费勒斯VR</i>
										<label data-toggle="checkbox" class="checkbox-pretty">
											<input type="checkbox"><span>99</span>
										</label>
									</li>
								</ul>
							</div>
							<div class="fr result">
								<div class="num">已选购0件商品</div>
								<div class="price-tit"><strong>套餐价</strong></div>
								<div class="price">￥5299</div>
								<button class="sui-btn  btn-danger addshopcar">加入购物车</button>
							</div>
						</div>
					</div>
					<div class="tab-main intro">
						<ul class="sui-nav nav-tabs tab-wraped">
							<li class="active">
								<a href="#one" data-toggle="tab">
									<span>商品介绍</span>
								</a>
							</li>
							<li>
								<a href="#two" data-toggle="tab">
									<span>规格与包装</span>
								</a>
							</li>
							<li>
								<a href="#three" data-toggle="tab">
									<span>售后保障</span>
								</a>
							</li>
							<li>
								<a href="#four" data-toggle="tab">
									<span>商品评价</span>
								</a>
							</li>
							<li>
								<a href="#five" data-toggle="tab">
									<span>手机社区</span>
								</a>
							</li>
						</ul>
						<div class="clearfix"></div>
						<div class="tab-content tab-wraped">
							<div id="one" class="tab-pane active">
								<ul class="goods-intro unstyled">
									<?php echo $list['club_name']; ?>

								</ul>
								<div class="intro-detail">
									<?php echo $list['club_name']; ?>
								</div>
							</div>
							<div id="two" class="tab-pane">
								<p>规格与包装</p>
							</div>
							<div id="three" class="tab-pane">
								<p>售后保障</p>
							</div>
							<div id="four" class="tab-pane">
								<div class="comment">
									<div class="com-tit">商品评价</div>
									<div class="com-percent">
										<p>好评度 <span class="percent">96%</span></p>
									</div>
									<div class="com-tab-type">
										<ul class="type">
											<li class="current"><a href="javascript:;">全部评价(123456)</a></li>
											<li><a href="javascript:;">晒图(500)</a></li>
											<li><a href="javascript:;">追评(500)</a></li>
											<li><a href="javascript:;">好评(500)</a></li>
											<li><a href="javascript:;">中评(500)</a></li>
											<li><a href="javascript:;">差评(500)</a></li>
										</ul>
										<div class="content">
											<div class="com-item">
												<div class="user-column">
													<div class="username"><img src="/static/home/img/_/photo.jpg"/>用户****1</div>
													<div class="usernum">品享值258698</div>
												</div>
												<div class="user-info">
													<div class="stars star4"></div>
													<p>手机还不错，可以的可以的</p>
													<div class="guige">
														<ul class="mini">
															<li>玫瑰金</li>
															<li>标配版</li>
															<li>2017-11-02 13:23</li>
														</ul>
														<div class="operate">
															<span id="collect"><i class="sui-icon icon-tb-like"></i> 325</span>
															<span id="comment"><i class="sui-icon icon-tb-wang"></i> 256</span>
														</div>
														<div class="clearfix"></div>
													</div>
												</div>
											</div>
											<div class="com-item">
												<div class="user-column">
													<div class="username"><img src="/static/home/img/_/photo.jpg"/>用户****1</div>
													<div class="usernum">品享值258698</div>
												</div>
												<div class="user-info">
													<div class="stars star4"></div>
													<p>手机还不错，可以的可以的</p>
													<div class="guige">
														<ul class="mini">
															<li>玫瑰金</li>
															<li>标配版</li>
															<li>2017-11-02 13:23</li>
														</ul>
														<div class="operate">
															<span id="collect"><i class="sui-icon icon-tb-like"></i> 325</span>
															<span id="comment"><i class="sui-icon icon-tb-wang"></i> 256</span>
														</div>
														<div class="clearfix"></div>
													</div>
												</div>
											</div>
											<div class="com-item">
												<div class="user-column">
													<div class="username"><img src="/static/home/img/_/photo.jpg"/>用户****1</div>
													<div class="usernum">品享值258698</div>
												</div>
												<div class="user-info">
													<div class="stars star4"></div>
													<p>手机还不错，可以的可以的</p>
													<div class="guige">
														<ul class="mini">
															<li>玫瑰金</li>
															<li>标配版</li>
															<li>2017-11-02 13:23</li>
														</ul>
														<div class="operate">
															<span id="collect"><i class="sui-icon icon-tb-like"></i> 325</span>
															<span id="comment"><i class="sui-icon icon-tb-wang"></i> 256</span>
														</div>
														<div class="clearfix"></div>
													</div>
												</div>
											</div>
											<div class="com-item">
												<div class="user-column">
													<div class="username"><img src="/static/home/img/_/photo.jpg"/>用户****1</div>
													<div class="usernum">品享值258698</div>
												</div>
												<div class="user-info">
													<div class="stars star4"></div>
													<p>手机还不错，可以的可以的</p>
													<div class="guige">
														<ul class="mini">
															<li>玫瑰金</li>
															<li>标配版</li>
															<li>2017-11-02 13:23</li>
														</ul>
														<div class="operate">
															<span id="collect"><i class="sui-icon icon-tb-like"></i> 325</span>
															<span id="comment"><i class="sui-icon icon-tb-wang"></i> 256</span>
														</div>
														<div class="clearfix"></div>
													</div>
												</div>
											</div>
											<div class="com-item">
												<div class="user-column">
													<div class="username"><img src="/static/home/img/_/photo.jpg"/>用户****1</div>
													<div class="usernum">品享值258698</div>
												</div>
												<div class="user-info">
													<div class="stars star4"></div>
													<p>手机还不错，可以的可以的</p>
													<div class="guige">
														<ul class="mini">
															<li>玫瑰金</li>
															<li>标配版</li>
															<li>2017-11-02 13:23</li>
														</ul>
														<div class="operate">
															<span id="collect"><i class="sui-icon icon-tb-like"></i> 325</span>
															<span id="comment"><i class="sui-icon icon-tb-wang"></i> 256</span>
														</div>
														<div class="clearfix"></div>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
							<div id="five" class="tab-pane">
								<p>手机社区</p>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!--like-->
			<div class="clearfix"></div>
			<div class="like">
				<h4 class="kt">猜你喜欢</h4>
				<div class="like-list">
					<ul class="yui3-g">
						<li class="yui3-u-1-6">
							<div class="list-wrap">
								<div class="p-img">
									<img src="/static/home/img/_/itemlike01.png" />
								</div>
								<div class="attr">
									<em>DELL戴尔Ins 15MR-7528SS 15英寸 银色 笔记本</em>
								</div>
								<div class="price">
									<strong>
											<em>¥</em>
											<i>3699.00</i>
										</strong>
								</div>
								<div class="commit">
									<i class="command">已有6人评价</i>
								</div>
							</div>
						</li>
						<li class="yui3-u-1-6">
							<div class="list-wrap">
								<div class="p-img">
									<img src="/static/home/img/_/itemlike02.png" />
								</div>
								<div class="attr">
									<em>Apple苹果iPhone 6s/6s Plus 16G 64G 128G</em>
								</div>
								<div class="price">
									<strong>
											<em>¥</em>
											<i>4388.00</i>
										</strong>
								</div>
								<div class="commit">
									<i class="command">已有700人评价</i>
								</div>
							</div>
						</li>
						<li class="yui3-u-1-6">
							<div class="list-wrap">
								<div class="p-img">
									<img src="/static/home/img/_/itemlike03.png" />
								</div>
								<div class="attr">
									<em>DELL戴尔Ins 15MR-7528SS 15英寸 银色 笔记本</em>
								</div>
								<div class="price">
									<strong>
											<em>¥</em>
											<i>4088.00</i>
										</strong>
								</div>
								<div class="commit">
									<i class="command">已有700人评价</i>
								</div>
							</div>
						</li>
						<li class="yui3-u-1-6">
							<div class="list-wrap">
								<div class="p-img">
									<img src="/static/home/img/_/itemlike04.png" />
								</div>
								<div class="attr">
									<em>DELL戴尔Ins 15MR-7528SS 15英寸 银色 笔记本</em>
								</div>
								<div class="price">
									<strong>
											<em>¥</em>
											<i>4088.00</i>
										</strong>
								</div>
								<div class="commit">
									<i class="command">已有700人评价</i>
								</div>
							</div>
						</li>
						<li class="yui3-u-1-6">
							<div class="list-wrap">
								<div class="p-img">
									<img src="/static/home/img/_/itemlike05.png" />
								</div>
								<div class="attr">
									<em>DELL戴尔Ins 15MR-7528SS 15英寸 银色 笔记本</em>
								</div>
								<div class="price">
									<strong>
											<em>¥</em>
											<i>4088.00</i>
										</strong>
								</div>
								<div class="commit">
									<i class="command">已有700人评价</i>
								</div>
							</div>
						</li>
						<li class="yui3-u-1-6">
							<div class="list-wrap">
								<div class="p-img">
									<img src="/static/home/img/_/itemlike06.png" />
								</div>
								<div class="attr">
									<em>DELL戴尔Ins 15MR-7528SS 15英寸 银色 笔记本</em>
								</div>
								<div class="price">
									<strong>
											<em>¥</em>
											<i>4088.00</i>
										</strong>
								</div>
								<div class="commit">
									<i class="command">已有700人评价</i>
								</div>
							</div>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<form action="<?php echo url('home/cart/addcart'); ?>" method="post" style="display: none">
		<input type="hidden" name="goods_id" value="<?php echo $list['id']; ?>">
		<input type="hidden" name="spec_goods_id" value="">
		<input type="hidden" name="number" value="">
	</form>
<script>
	$(function(){
		//规格值ids 到 规格商品id的映射关系
//		var value_ids_map = {"18_21":{"id":813,"price":"1000.00"},"18_22":{"id":814,"price":"1000.00"},"19_21":{"id":815,"price":"1000.00"},"19_22":{"id":816,"price":"1000.00"}};
		//加入购物车
		$('#addshopcar').click(function(){
			//获取选中的规格值的组合
			var value_ids = '';
			$('.selected').each(function(i,v){
				value_ids += $(v).attr('spec_value_id') + '_';
			});
			//去除最后一个下划线  value_ids = '19_21_'
			value_ids = value_ids.slice(0, -1);
			//获取对应的规格商品SKU的id值 考虑到部分商品可能没有SKU 使用三元判断
			var spec_goods_id = value_ids_map[value_ids] ? value_ids_map[value_ids].id : '';
			//console.log(spec_goods_id);
			//后续加入购物车 需要使用spec_goods_id
			//将spec_goods_id放到隐藏表单中
			$('input[name=spec_goods_id]').val(spec_goods_id);
			//获取购买数量
			var number = $('#number').val();
			//将购买数量放到隐藏表单中
			$('input[name=number]').val(number);
			//提交表单
			$('form').submit();
		});

		//规格值选中效果
		$('#specification').find('a').click(function(){
			//给当前行标签 移除selected这个class
			$(this).closest('dl').find('a').removeClass('selected');
			//再给当前点击的a标签加上selected
			$(this).addClass('selected');

			//获取选中的规格值的组合
			var value_ids = '';
			$('.selected').each(function(i,v){
				value_ids += $(v).attr('spec_value_id') + '_';
			});
			//去除最后一个下划线  value_ids = '19_21_'   '19_21'
			value_ids = value_ids.slice(0, -1);
			//获取对应的规格商品SKU的id值
			var spec_goods_price = value_ids_map[value_ids].price;
			//console.log(spec_goods_price);
			//将价格显示到页面
			$('#goods_price').html(spec_goods_price);
		});

		//加号
		$('#plus').click(function(){
			//获取数量
			var number = parseInt( $('#number').val() );
			//计算新的数量
			number += 1;
			//展示新的数量
			$('#number').val(number);
		});
		//减号
		$('#mins').click(function(){
			//获取数量
			var number = parseInt( $('#number').val() );
			//计算新的数量
			if(number == 1) return;
			number -= 1;
			//展示新的数量
			$('#number').val(number);
		});
	})
</script>

<!-- 底部栏位 -->
<!--页面底部-->
<div class="clearfix footer">
    <div class="py-container">
        <div class="footlink">
            <div class="Mod-service">
                <ul class="Mod-Service-list">
                    <li class="grid-service-item intro  intro1">

                        <i class="serivce-item fl"></i>
                        <div class="service-text">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>

                    </li>
                    <li class="grid-service-item  intro intro2">

                        <i class="serivce-item fl"></i>
                        <div class="service-text">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>

                    </li>
                    <li class="grid-service-item intro  intro3">

                        <i class="serivce-item fl"></i>
                        <div class="service-text">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>

                    </li>
                    <li class="grid-service-item  intro intro4">

                        <i class="serivce-item fl"></i>
                        <div class="service-text">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>

                    </li>
                    <li class="grid-service-item intro intro5">

                        <i class="serivce-item fl"></i>
                        <div class="service-text">
                            <h4>正品保障</h4>
                            <p>正品保障，提供发票</p>
                        </div>

                    </li>
                </ul>
            </div>
            <div class="clearfix Mod-list">
                <div class="yui3-g">
                    <div class="yui3-u-1-6">
                        <h4>购物指南</h4>
                        <ul class="unstyled">
                            <li>购物流程</li>
                            <li>会员介绍</li>
                            <li>生活旅行/团购</li>
                            <li>常见问题</li>
                            <li>购物指南</li>
                        </ul>

                    </div>
                    <div class="yui3-u-1-6">
                        <h4>配送方式</h4>
                        <ul class="unstyled">
                            <li>上门自提</li>
                            <li>211限时达</li>
                            <li>配送服务查询</li>
                            <li>配送费收取标准</li>
                            <li>海外配送</li>
                        </ul>
                    </div>
                    <div class="yui3-u-1-6">
                        <h4>支付方式</h4>
                        <ul class="unstyled">
                            <li>货到付款</li>
                            <li>在线支付</li>
                            <li>分期付款</li>
                            <li>邮局汇款</li>
                            <li>公司转账</li>
                        </ul>
                    </div>
                    <div class="yui3-u-1-6">
                        <h4>售后服务</h4>
                        <ul class="unstyled">
                            <li>售后政策</li>
                            <li>价格保护</li>
                            <li>退款说明</li>
                            <li>返修/退换货</li>
                            <li>取消订单</li>
                        </ul>
                    </div>
                    <div class="yui3-u-1-6">
                        <h4>特色服务</h4>
                        <ul class="unstyled">
                            <li>夺宝岛</li>
                            <li>DIY装机</li>
                            <li>延保服务</li>
                            <li>品优购E卡</li>
                            <li>品优购通信</li>
                        </ul>
                    </div>
                    <div class="yui3-u-1-6">
                        <h4>帮助中心</h4>
                        <img src="/static/home/img/wx_cz.jpg">
                    </div>
                </div>
            </div>
            <div class="Mod-copyright">
                <ul class="helpLink">
                    <li>关于我们<span class="space"></span></li>
                    <li>联系我们<span class="space"></span></li>
                    <li>关于我们<span class="space"></span></li>
                    <li>商家入驻<span class="space"></span></li>
                    <li>营销中心<span class="space"></span></li>
                    <li>友情链接<span class="space"></span></li>
                    <li>关于我们<span class="space"></span></li>
                    <li>营销中心<span class="space"></span></li>
                    <li>友情链接<span class="space"></span></li>
                    <li>关于我们</li>
                </ul>
                <p>地址：北京市昌平区建材城西路金燕龙办公楼一层 邮编：100096 电话：400-618-4000 传真：010-82935100</p>
                <p>京ICP备08001421号京公网安备110108007702</p>
            </div>
        </div>
    </div>
</div>
<!--页面底部END-->
<!--侧栏面板开始-->
<div class="J-global-toolbar">
    <div class="toolbar-wrap J-wrap">
        <div class="toolbar">
            <div class="toolbar-panels J-panel">

                <!-- 购物车 -->
                <div style="visibility: hidden;" class="J-content toolbar-panel tbar-panel-cart toolbar-animate-out">
                    <h3 class="tbar-panel-header J-panel-header">
                        <a href="" class="title"><i></i><em class="title">购物车</em></a>
                        <span class="close-panel J-close" onclick="cartPanelView.tbar_panel_close('cart');" ></span>
                    </h3>
                    <div class="tbar-panel-main">
                        <div class="tbar-panel-content J-panel-content">
                            <div id="J-cart-tips" class="tbar-tipbox hide">
                                <div class="tip-inner">
                                    <span class="tip-text">还没有登录，登录后商品将被保存</span>
                                    <a href="#none" class="tip-btn J-login">登录</a>
                                </div>
                            </div>
                            <div id="J-cart-render">
                                <!-- 列表 -->
                                <div id="cart-list" class="tbar-cart-list">
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- 小计 -->
                    <div id="cart-footer" class="tbar-panel-footer J-panel-footer">
                        <div class="tbar-checkout">
                            <div class="jtc-number"> <strong class="J-count" id="cart-number">0</strong>件商品 </div>
                            <div class="jtc-sum"> 共计：<strong class="J-total" id="cart-sum">¥0</strong> </div>
                            <a class="jtc-btn J-btn" href="#none" target="_blank">去购物车结算</a>
                        </div>
                    </div>
                </div>

                <!-- 我的关注 -->
                <div style="visibility: hidden;" data-name="follow" class="J-content toolbar-panel tbar-panel-follow">
                    <h3 class="tbar-panel-header J-panel-header">
                        <a href="#" target="_blank" class="title"> <i></i> <em class="title">我的关注</em> </a>
                        <span class="close-panel J-close" onclick="cartPanelView.tbar_panel_close('follow');"></span>
                    </h3>
                    <div class="tbar-panel-main">
                        <div class="tbar-panel-content J-panel-content">
                            <div class="tbar-tipbox2">
                                <div class="tip-inner"> <i class="i-loading"></i> </div>
                            </div>
                        </div>
                    </div>
                    <div class="tbar-panel-footer J-panel-footer"></div>
                </div>

                <!-- 我的足迹 -->
                <div style="visibility: hidden;" class="J-content toolbar-panel tbar-panel-history toolbar-animate-in">
                    <h3 class="tbar-panel-header J-panel-header">
                        <a href="#" target="_blank" class="title"> <i></i> <em class="title">我的足迹</em> </a>
                        <span class="close-panel J-close" onclick="cartPanelView.tbar_panel_close('history');"></span>
                    </h3>
                    <div class="tbar-panel-main">
                        <div class="tbar-panel-content J-panel-content">
                            <div class="jt-history-wrap">
                                <ul>
                                    <!--<li class="jth-item">
                                        <a href="#" class="img-wrap"> <img src="../../.../portal/img/like_03.png" height="100" width="100" /> </a>
                                        <a class="add-cart-button" href="#" target="_blank">加入购物车</a>
                                        <a href="#" target="_blank" class="price">￥498.00</a>
                                    </li>
                                    <li class="jth-item">
                                        <a href="#" class="img-wrap"> <img src="../../../portal/img/like_02.png" height="100" width="100" /></a>
                                        <a class="add-cart-button" href="#" target="_blank">加入购物车</a>
                                        <a href="#" target="_blank" class="price">￥498.00</a>
                                    </li>-->
                                </ul>
                                <a href="#" class="history-bottom-more" target="_blank">查看更多足迹商品 &gt;&gt;</a>
                            </div>
                        </div>
                    </div>
                    <div class="tbar-panel-footer J-panel-footer"></div>
                </div>

            </div>

            <div class="toolbar-header"></div>

            <!-- 侧栏按钮 -->
            <div class="toolbar-tabs J-tab">
                <div onclick="cartPanelView.tabItemClick('cart')" class="toolbar-tab tbar-tab-cart" data="购物车" tag="cart" >
                    <i class="tab-ico"></i>
                    <em class="tab-text"></em>
                    <span class="tab-sub J-count " id="tab-sub-cart-count">0</span>
                </div>
                <div onclick="cartPanelView.tabItemClick('follow')" class="toolbar-tab tbar-tab-follow" data="我的关注" tag="follow" >
                    <i class="tab-ico"></i>
                    <em class="tab-text"></em>
                    <span class="tab-sub J-count hide">0</span>
                </div>
                <div onclick="cartPanelView.tabItemClick('history')" class="toolbar-tab tbar-tab-history" data="我的足迹" tag="history" >
                    <i class="tab-ico"></i>
                    <em class="tab-text"></em>
                    <span class="tab-sub J-count hide">0</span>
                </div>
            </div>

            <div class="toolbar-footer">
                <div class="toolbar-tab tbar-tab-top" > <a href="#"> <i class="tab-ico  "></i> <em class="footer-tab-text">顶部</em> </a> </div>
                <div class="toolbar-tab tbar-tab-feedback" > <a href="#" target="_blank"> <i class="tab-ico"></i> <em class="footer-tab-text ">反馈</em> </a> </div>
            </div>

            <div class="toolbar-mini"></div>

        </div>

        <div id="J-toolbar-load-hook"></div>

    </div>
</div>
<!--购物车单元格 模板-->
<script type="text/template" id="tbar-cart-item-template">
    <div class="tbar-cart-item" >
        <div class="jtc-item-promo">
            <em class="promo-tag promo-mz">满赠<i class="arrow"></i></em>
            <div class="promo-text">已购满600元，您可领赠品</div>
        </div>
        <div class="jtc-item-goods">
            <span class="p-img"><a href="#" target="_blank"><img src="{2}" alt="{1}" height="50" width="50" /></a></span>
            <div class="p-name">
                <a href="#">{1}</a>
            </div>
            <div class="p-price"><strong>¥{3}</strong>×{4} </div>
            <a href="#none" class="p-del J-del">删除</a>
        </div>
    </div>
</script>
<!--侧栏面板结束-->

</body>

</html>